<?php

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sudomains Creating Page</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
	<form action="process.php" method="POST" name="frmSubdom">
		<input type="hidden" name="provider" value="editdns" />
		<div align="center">
		<h3>Editdns subdomain creating form</h3>
		<?php if(isset($_GET['success'])) echo '<p class="success">' . $_GET['success']. '</p>';?>
		<?php if(isset($_GET['error'])) echo '<p class="error">' . $_GET['error']. '</p>';?>
		<label>Email: </label><input type="text" id="username" name="username" /> <br />
		<label>Password: </label><input type="password" id="password" name="password" /> <br />
		<label>Domains:</label><textarea cols="20" rows="5" id="editdns_subdom" name="editdns_subdom"></textarea>
		<select id="editdns_domain" name="editdns_domain" >
			<option value="9931">mydyn.net</option>
			<option value="6289">resolveme.com</option>
		</select><br />
		<!--<label>Wildcard:</label><input type="checkbox" id="editdns_wildcard" name="editdns_wildcard" /> <br />-->
		<label>IP address:</label><input type="text" id="editdns_ipaddr" name="editdns_ipaddr" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>"/> <br />
		<input id="btnCreate" name="btnCreate" type="submit" value="Create" />
		</div>
	</form>
</body>
</html>